package com.smart.campus.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.ToString;

import java.io.Serializable;
import java.math.BigDecimal;

@Data
@ToString
@TableName(value = "danger_details")
public class DangerDetails implements Serializable {

    @TableId(value = "id",type = IdType.AUTO)
    private Long id;

    private Long dangerId;
    private Integer dangerConfirm;
    private Long assignId;
    private String assignTime;
    private String handleTime;
    private Long copyId;
    private String copyContent;
    private Long warnId;
    private String warnContent;
    private String superiorUnit;
    private String reportContent;
    private Long userId;
    private BigDecimal handleMoney;
    private String handleContent;
    private String handleImg;
    private String verificationTime;
    private Integer inspectState;
    private String inspectContent;
    private String inspectImg;
    private String inspectTime;
    private Long inspectId;
    private String createBy;
    private String createTime;
    private String updateBy;
    private String updateTime;

    @TableField(exist = false)
    private String handleName;

    @TableField(exist = false)
    private String inspectName;
}
